from apps.db import db
from apps.db.base_class import BaseModel, ModelMixin


class Role(BaseModel, ModelMixin):

    name = db.Column(db.String(30), index=True, nullable=False, unique=True, comment='角色名称')
    desc = db.Column(db.String(100), comment='角色描述')
